package com.wentao.thisService;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//import org.springframework.cloud.openfeign.EnableFeignClients;

//@EnableFeignClients
//@EnableDiscoveryClient
@EnableCaching //开启缓存
@EnableTransactionManagement // 开启事务管理
@SpringBootApplication(scanBasePackages = "com.wentao")
//@PropertySource(value = {"classpath:/pay.yaml", "classpath:/sms.yaml"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
